potential energy in simple harmonic motion